# -*- coding: utf-8 -*-
# To change this template, choose Tools | Templates
# and open the template in the editor.
from ui_bio import Ui_Form
from spin_box import spin_box

class gui_bio(Ui_Form):
    """Класс с модифицированным интерфейсом(добавлены модифицированные спинбоксы)"""
    def setupUi(self, Form):
        Ui_Form.setupUi(self, Form)
#       Спинбоксы с учеными
        self.uchenie_obrazovanie = spin_box(self.layoutWidget)
        self.uchenie_obrazovanie.setObjectName("uchenie_obrazovanie")
        self.grid_center_top.addWidget(self.uchenie_obrazovanie, 1, 1, 1, 1)
        self.uchelie_nauka = spin_box(self.layoutWidget)
        self.uchelie_nauka.setObjectName("uchelie_nauka")
        self.grid_center_top.addWidget(self.uchelie_nauka, 1, 2, 1, 1)
        self.uchenie_prosveshenie = spin_box(self.layoutWidget)
        self.uchenie_prosveshenie.setObjectName("uchenie_prosveshenie")
        self.grid_center_top.addWidget(self.uchenie_prosveshenie, 1, 3, 1, 1)
#       Спинбоксы с роботами
        self.roboti_razmnozenie = spin_box(self.layoutWidget)
        self.roboti_razmnozenie.setObjectName("roboti_razmnozenie")
        self.grid_center_top.addWidget(self.roboti_razmnozenie, 3, 1, 1, 1)
        self.roboti_repressii = spin_box(self.layoutWidget)
        self.roboti_repressii.setObjectName("roboti_repressii")
        self.grid_center_top.addWidget(self.roboti_repressii, 3, 2, 1, 1)
        self.roboti_proizvodstvo = spin_box(self.layoutWidget)
        self.roboti_proizvodstvo.setObjectName("roboti_proizvodstvo")
        self.grid_center_top.addWidget(self.roboti_proizvodstvo, 3, 3, 1, 1)
#       Спинбоксы с нелюдими
        self.neludi_prosveshenie = spin_box(self.layoutWidget)
        self.neludi_prosveshenie.setObjectName("neludi_prosveshenie")
        self.grid_center_top.addWidget(self.neludi_prosveshenie, 5, 1, 1, 1)
        self.neludi_repressii = spin_box(self.layoutWidget)
        self.neludi_repressii.setObjectName("neludi_repressii")
        self.grid_center_top.addWidget(self.neludi_repressii, 5, 2, 1, 1)
        self.neludi_smehuechki = spin_box(self.layoutWidget)
        self.neludi_smehuechki.setObjectName("neludi_smehuechki")
        self.grid_center_top.addWidget(self.neludi_smehuechki, 5, 3, 1, 1)

